cmake_minimum_required(VERSION 2.8)


add_library(v4l2lib v4l2.c v4l2.h)
add_executable(demo demo.c)
target_link_libraries(demo m 
	opencv_core 
	opencv_highgui
    opencv_imgproc	)

